package provisioner.algorithm;

import java.util.Collection;

import jp.aist.gtrc.plus.scheduler.node.NodeInfo;
import jp.aist.gtrc.plus.scheduler.status.JobStatus;

import org.apache.log4j.Logger;

public class Allocation {

	protected static final Logger logger = Logger.getLogger(Allocation.class);

        private JobStatus job;
        private Collection<NodeInfo> nodes;

        public Allocation(JobStatus job, Collection<NodeInfo> nodes) {
           this.job = job;
           this.nodes = nodes;
        }

        public JobStatus getJob() {
           return this.job;
        }
 
        public Collection<NodeInfo> getNodes() {
           return this.nodes;
        }

}
